﻿using BloggerAutoPosterService.Engine.Core;

namespace BloggerAutoPosterService.Tests
{
    public class FakeConfig : IServiceConfig
    {
        public string BlogUrl
        {
            get { return "https://www.blogger.com/feeds/6383920865683236659/posts/default"; }
        }

        public string UserName
        {
            get { return "vahid.nasiri@gmail.com"; }
        }

        public string ProjectRSSFeed
        {
            get { return "ProjectRSSFeed"; }
        }

        public string Password
        {
            get { return "myPass++"; }
        }

        public string PostAt
        {
            get { return "00:05"; }
        }

        public string[] FeedToParse
        {
            get { return new[] { "rss4.xml" }; }
        }

        public string DBName
        {
            get { return "db.xml"; }
        }

        public string Tag
        {
            get { return "News"; }
        }

        public string Title
        {
            get { return "Daily news "; }
        }

        public bool UsePersianDate
        {
            get { return true; }
        }

        public string ErrorsLogFile
        {
            get { return "log.log"; }
        }

        public int ReadSitesDataIntervalMin
        {
            get { return 5; }
        }

        public bool IsProxyEnabled
        {
            get { return false; }
        }

        public string ProxyServerAddress
        {
            get { return "127.0.0.1"; }
        }

        public int ProxyServerPort
        {
            get { return 8080; }
        }

        public string ProxyServerUserName
        {
            get { return "user1"; }
        }

        public string ProxyServerPassword
        {
            get { return "pass1"; }
        }

        public string[] GooglePlusUserId
        {
            get { return new[] { "1234" }; }
        }
    }
}
